import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

Vue.config.productionTip = false;

new Vue({
  router,
  store,//将store从根实例上注入到各各组件，这样就可以在组件里面通过this.$store来访问store里面的数据
  render: (h) => h(App),
}).$mount("#app");
